<template>
	<div class="position_item">
		<div class="left">
			<div class="jobname">UI设计师 <span>北京-大兴区</span></div>
			<div class="seller">8-15K</div>
			<div class="lookbtn"  @click="goJobDetail">查看详情</div>
		</div>
		<div class="right flex">
			<div class="r_left">
				<div class="name">北京智行瑞景科技有限公司</div>
				<div class="count mar"><span class="rb">上市公司</span>100-500人</div>
				<div class="count"><span class="rb">招聘中</span><span class="rb">3-5年</span><span>本科</span></div>
			</div>
			<div class="r_right">
				<div class="czitem"><img src="../../static/image/edite.png" alt="" class="src">编辑</div>
				<div class="czitem red" style="color: #FF4422;margin-top: 42px;"><img src="../../static/image/delete.png" alt="" class="src">删除</div>
			</div>
		</div>
	</div>
</template>

<script>
	export default {
		props: {
			item: {
				type: Object,
				default: {}
			}
		},
		data() {
			return {

			};
		},
		methods:{
			//跳转职位详情
			goJobDetail(){
				this.$router.push({
					path:'/Jobdetails'
				})
			}
		}
	}
</script>

<style lang="less" scoped="scoped">
	
	.position_item{
		width: 100%;
		height: auto;
		background-color: #FFFFFF;
		padding: 32px 40px 26px 40px;
		box-sizing: border-box;
		margin-bottom: 30px;
		
		.left{
			.jobname{
				display: flex;
				align-items: center;
				color: #226FFF;
				font-size: 26px;
				span{
					color: #999999;
					font-size: 16px;
					margin-left: 20px;
				}
			}
			.seller{
				color: #FF4422;
				font-size: 26px;
				margin: 12px 0px 20px;
			}
			.lookbtn{
				width: 110px;
				height: 36px;
				line-height: 36px;
				text-align: center;
				background: #226FFF;
				opacity: 1;
				color: #FFFFFF;
				font-size: 16px;
				cursor: pointer;
			}
		}
		.right{
			display: flex;
			align-items: center;
			.mar{
				margin: 14px 0px 47px;
			}
			.r_left{
				text-align: right;
				display: flex;
				flex-direction: column;
				 justify-content: flex-end;
				.name{
					color: #333333;
					font-size: 22px;
				}
				.count{
					color: #999999;
					font-size: 16px;
					.rb{
						&:after {
							// padding-left: 20px;
							// box-sizing: border-box;
							// margin-left: 20px;
							content: "";
							margin-left: 15px;
							padding-left: 15px;
							border-left: 1px solid #999999;
							height: 16px;
							display: inline-block;
							vertical-align: middle;
						}
					}
				}
				
			}
			.r_right{
				margin-left: 40px;
				.czitem{
					display: flex;
					align-items: center;
					font-size: 16px;
					color: #226FFF;
					cursor: pointer;
					.red{
						color: #FF4422 !important;
					}
					img{
						width: 18px;
						height: 18px;
						margin-right: 6px;
					}
				}
			}
		}
	}
	
</style>
